﻿@{
    //支付之前确认订单
    Layout = null;
}
<form method="post" class="form-horizontal" action="@ViewBag.serverUrl">
    <table class="table table-bordered table-striped table-hover">
        <tr hidden="hidden">
            <td>商户号:</td>
            <td>
                <input type="text" class="form-control" name="merchantId" id="merchantId" readonly="readonly" value="@ViewBag.merchantId"/>
            </td>
        </tr>
        <tr hidden="hidden">
            <td>取货地址:</td>
            <td>
                <input type="text" class="form-control" name="pickupUrl" id="pickupUrl" readonly="readonly" value="@ViewBag.pickupUrl" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>商户系统通知地址:</td>
            <td>
                <input type="text" class="form-control" name="receiveUrl" id="receiveUrl" readonly="readonly" value="@ViewBag.receiveUrl" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>版本号:</td>
            <td>
                <input type="text" class="form-control" name="version" id="version" readonly="readonly" value="@ViewBag.version" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>签名类型:</td>
            <td>
                <input type="text" class="form-control" name="signType" id="signType" readonly="readonly" value="@ViewBag.signType" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>送货地址</td>
            <td>
                <input type="text" class="form-control" name="ext1" id="ext1" readonly="readonly" value="@ViewBag.Address" />
            </td>
        </tr>
        <tr>
            <td>收货人姓名</td>
            <td>
                <input type="text" class="form-control" name="payerName" id="payerName" readonly="readonly" value="@ViewBag.UName" />
            </td>
        </tr>
        <tr>
            <td>电话</td>
            <td>
                <input type="text" class="form-control" name="payerTelephone" id="payerTelephone" readonly="readonly" value="@ViewBag.Tel" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>订单号</td>
            <td>
                <input type="text" class="form-control" name="orderNo" id="orderNo" readonly="readonly" value="@ViewBag.OrderNumber" />
            </td>
        </tr>
        <tr>
            <td>总金额</td>
            <td>
                <input type="text" class="form-control" name="" value="@(ViewBag.MoneyTotal/100) 元" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>总金额(单位分)</td>
            <td>
                <input type="text" class="form-control" name="orderAmount" id="orderAmount" readonly="readonly" value="@ViewBag.MoneyTotal" />
            </td>
        </tr>
        <tr>
            <td>总数量</td>
            <td>
                <input type="text" class="form-control" name="productNum" id="productNum" readonly="readonly" value="@ViewBag.Number" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>编码</td>
            <td>
                <input type="text" class="form-control" name="inputCharset" id="inputCharset" readonly="readonly" value="@ViewBag.inputCharset" />
            </td>
        </tr>
        <tr>
            <td>订单时间</td>
            <td>
                <input type="text" class="form-control" name="orderDatetime" id="orderDatetime" readonly="readonly" value="@ViewBag.CreateDate" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>支付方式</td>
            <td>
                <input type="text" class="form-control" name="payType" id="payType" readonly="readonly" value="@ViewBag.payType" />
            </td>
        </tr>
        <tr hidden="hidden">
            <td>签名串</td>
            <td>
                <input type="text" class="form-control" name="signMsg" id="signMsg" readonly="readonly" value="@ViewBag.signMsg" />
            </td>
        </tr>
    </table>
    <div class="page-header">
        <h1>
            <input type="submit" value="开始支付" class="btn btn-primary" style="float:right;margin-top:20px;" />
        </h1>
    </div>
</form>
